<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        color: red;
    }
    
    div {
        color: sandybrown;
    }
    
    .box {
        color: greenyellow;
    }
    
    #index {
        color: skyblue;
    }
</style>

<body>
    <div class="box" id="index" style="color: pink;">优先级</div>
</body>

</html>